home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / MIT0.L2 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.3 KB  |  128 lines

  1. name Mitsubishi L0
  2.  
  3. O >4
  4. N >4
  5. G >2
  6. X ->3.>4
  7. Z ->3.>4
  8. d >2 D
  9. I ->3.>4
  10. K ->3.>4
  11. U ->3.>4
  12. W ->3.>4
  13. D ->3.>4
  14. H >2
  15. F >3.>3
  16. T 4
  17. S >4
  18. M >2
  19.  
  20. Revsigns X I                          # List of letters to reverse signs  
  21.  
  22. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  23.  
  24. Sequence#s N 1 1 1                    # Char, freq, incr & start          
  25. First#? N                             # Y or N  'Output 1st sequence no.  
  26.  
  27. Comment ( )                           # Begin End comment char.           
  28.  
  29. HCode Z                               # X or X U  'Horizontal char.       
  30. VCode X                               # Y or Y V  'Vertical char.         
  31. FeedCode F                            # Feed rate char.                   
  32.  
  33. RevTurret2? Y
  34. HCode2 Z
  35. VCode2 X
  36.  
  37. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  38. Coolant 8 9 7                         # On, Off & Mist m codes            
  39. SpeedType G 97 96                     # CSS and RPM g codes               
  40. FeedType G 95 94                      # IPR & IPM g codes                 
  41.  
  42. ByDiameter? Y                         # Y or N  'Output X val. by diameter
  43.  
  44. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  45. ByQuadrants? Y                        # Y or N  'Break arcs at quadrants  
  46.  
  47. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  48.  
  49. Inch/MM 20 21                         # Inch & Metric g codes             
  50.  
  51. CtrCode K I                           # I J or R or I J K L               
  52.  
  53. Feed G1                               # Linear move                       
  54. Rapid G0                              # Rapid positioning word            
  55. Cw G2                                 # Circular move clockwise           
  56. Ccw G3                                # Circular move counter clockwise   
  57.  
  58. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  59.  
  60. AutoThread                            # Automatic thread canned cycle     
  61. G32
  62. End
  63.  
  64. Drill                                 # Drilling canned/manual cycle      
  65. G1 Z[H] F[Frate]
  66. G0 Z[SClear]
  67. end
  68.  
  69. Peck                                  # Pecking canned/manual cycle       
  70. none
  71. end
  72.  
  73. Tap                                   # Tapping canned/manual cycle       
  74. G78 Z[H] F[FRate]
  75. end cancel
  76.  
  77. Ream                                  # Reaming canned/manual cycle       
  78. G1 Z[H] F[FRate]
  79. G0 Z[SClear]
  80. end
  81.  
  82. Cancel                                # Cancel a canned/manual cycle      
  83. G80
  84. end
  85.  
  86. StartCode                             # Start of the program              
  87. O[Program#]
  88. End
  89.  
  90. 1stToolChange                         # First tool change                 
  91. T0
  92. G28 W0
  93. G28 U0
  94. G50 X0 Z0
  95. M1
  96. T[Tool]
  97. G0 X[V]
  98. G[FeedType] G[SpeedType] S[Speed] M[Direct]
  99. Z[H] M[Cool]
  100. End
  101.  
  102. Infeed                                # Enable cutter comp                
  103. G1 X[V] Z[H] d[Dcomp] F[FRate]
  104. end
  105.  
  106. Outfeed                               # Disable cutter comp               
  107. G1 X[V] Z[H] F[FRate]
  108. end
  109.  
  110. ToolChange                            # Secondary tool changes            
  111. G0 Z[ToolH] M5
  112. T0
  113. M1
  114.  
  115. T[Tool]
  116. G0 X[V]
  117. G[FeedType] G[SpeedType] S[Speed] M[Direct]
  118. Z[H] M[Cool]
  119. End
  120.  
  121. EndCode                               # End of the program                
  122. G0 Z[ToolH] X[ToolV]
  123. G28 W0 M5
  124. G28 U0
  125. M30
  126. End
  127.  
  128.